﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_TaiKhoan
    {
        public static void themTaiKhoan(DTO_TaiKhoan p)
        {
            DAO_TaiKhoan.themTaiKhoan(p);
        }
        public static DataTable hienthiDanhSachTaiKhoan()
        {
            return DAO_TaiKhoan.hienthiDanhSachTaiKhoan();

        }
        public static void suaTaiKhoan(DTO_TaiKhoan p)
        {
            DAO_TaiKhoan.suaTaiKhoan(p);
        }
        public static void xoaTaiKhoan(DTO_TaiKhoan p)
        {
            DAO_TaiKhoan.xoaTaiKhoan(p);
        }
    }
}
